package com.wocao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wocao.entity.ReqBody;
import com.wocao.entity.ZyOwner;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 业主  Mapper 接口
 */
public interface ZyOwnerMapper extends BaseMapper<ZyOwner> {

    //分页
    Page<ZyOwner> allPage(Page<ZyOwner> page, @Param("reqBody") ReqBody reqBody);

    /**
     * 业主审核
     */
    IPage<ZyOwner> selectZyOwnerAll(Page<ZyOwner> page, @Param("roomStatus") Long roomStatus);

    /**
     * 审核记录
     */
    List<ZyOwner> selectzyOwnerRoomRecordAll(@Param("ownerRealName") String ownerRealName);


}




